package cxl_zh.model;


import java.io.Serializable;

public class User implements Serializable{

	private static final long serialVersionUID = 1L;
	private String name;
	private int id;
	private String ip;
	
	
	public User(String name, int id, String ip) {
		super();
		this.name = name;
		this.id = id;
		this.ip = ip;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	@Override
	public String toString() {
		return "User [name=" + name + ", id=" + id + ", ip=" + ip + "]";
	}
	
}
